<template>
	<div>
		<van-search
		  v-model="value"
		  placeholder="请输入搜索关键词"
		  show-action
		  shape="round"
		  @search="onSearch"
		  class="rel-search"
		>
		  <div slot="action" @click="onSearch">搜索</div>
		</van-search>
	</div>
</template>

<script>
	export default {
	  name: 'Search',
	  data () {
	    return {
	      msg: "",
		  value:""
	    }
	  },
	  methods:{
		 onSearch(){
			 
		 } 
	  }
	}
</script>

<style scoped="">
	.rel-search{
		position: absolute;
		top: 0;
		width: 100%;
	}
</style>
